package org.example.greenhouse.service;

import org.example.greenhouse.common.entity.BaseSoli;
import org.example.greenhouse.result.Result;

import java.util.List;

public interface SensorService {
    Result fetchAndSaveSensorData();

    <T extends BaseSoli> Result getAllSensorData(Class<T> entityClass);
}
